CC = g++
CXXFLAGS = -Wall

SRC = $(wildcard *.cpp)
OBJ = $(SRC:.cpp=.o)

all: $(OBJ)

%.o: %.cpp %.h
	$(CC) -o $@ -c $< $(CXXFLAGS)


.PHONY: clean mrproper

clean:
	rm -rf *.o

mrproper: clean


